package cn.bluemobi.platform.entity.category;

import java.util.Date;

public class CommodityCategory {
    private Long id;//商品分类主键id 自增

    private String categoryName;//商品分类名称

    private String imageUrl;//商品分类图片地址

    private Long parent;//商品分类父级id

    private Integer level;//商品分类级别(0一级分类，1二级分类)

    private Date createDate;//创建时间

    private Integer isDelete;//是否删除(0否1是)

    private String firstLevelName;//父级分类名称

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName == null ? null : categoryName.trim();
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl == null ? null : imageUrl.trim();
    }

    public Long getParent() {
        return parent;
    }

    public void setParent(Long parent) {
        this.parent = parent;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getFirstLevelName() { return firstLevelName; }

    public void setFirstLevelName(String firstLevelName) { this.firstLevelName = firstLevelName; }
}